| 1. | Factors out the common behaviors of all pieces 提取了所有对象的共有行为: |
| 2. | Factor out long expressions in the middle of statements 如果长表达式在语句的中间,可以额外提出来。 |
| 3. | Factoring out common code is a good practice , but it can t be applied in all cases 分解出公共代码是一个很好的习惯,但它并不适用于所有的情况。 |
| 4. | Cures and preventions : factor out the common code , if possible ; otherwise , update it 治疗和预防措施:如果可能,分解出公共代码;否则就对其进行更新。 |
| 5. | Just as before , we can minimize bugs of this sort by factoring out the common code 就象以前一样,我们可以通过分解出公共代码来将这种错误控制到最少。 |
| 6. | Of course , this example is one that a beginning programmer would quickly learn to avoid by factoring out the common code 当然,这个示例所示的错误是编程新手可以很快学会通过分解出公共代码来避免的。 |
| 7. | To improve performance , you may wish to factor out the code for each model attribute into its own method or a single method with a " switch " 要改进性能,您可能希望将每个模型属性的代码分解成其自己的方法(或者是一个带有“开关( switch ) ”的方法) 。 |
| 8. | Relationships indicate that you want to look closely at similar use cases , trying to find commonality that can be factored out into " subset " cases or equivalents 关系表示您应该密切关注相似的用例,尝试查找共同点,它们可以被分解成“子集”用例或等价物。 |
| 9. | However , some negative factors out of network issue a grim challenge to the psychological health of college students who are destitute of self - restraint and resistance against temptation 同时又给自制力、抵御力不强的大学生心理健康提出了严峻的挑战、产生了一些负面影响。 |
| 10. | When each cast is held to this level of scrutiny , you may find yourself factoring out many of these casts by adding methods to the relevant subclasses 当对每个类型强制转换进行这种级别的详细审查时,您可能会发现通过向相关的子类添加方法,您将许多这些类型强制转换分解了。 |